#ifndef ITEMSMANAGER_H
#define ITEMSMANAGER_H

#define GraphicsItem QGraphicsItem

class GraphicsItem;
class PaintScene;

class ItemsManager
{
public:
    static ItemsManager* instance();
    GraphicsItem* currentItem();
    void setCurrentItem(GraphicsItem *item);
    PaintScene* paintScene();
    void setPaintScene(PaintScene *s);

private:
    ItemsManager();
    ~ItemsManager();
    static ItemsManager* _instance;
    GraphicsItem* _currentItem;
    PaintScene* _paintScene;
};

#endif // ITEMSMANAGER_H
